package com.seafwg.dao;

import com.seafwg.domain.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @Author seafwg
 * @Date 2022/3/23 11:40 上午
 * @Version 1.0
 * @description xxx
 */

// @Mapper //注入mapper接口层
public interface StudentMapper {
    /**
     * 根据ID查询student
     * @param id
     * @return
     */
    // @Select("select * from student where id=#{id}")
    Student findStudentById(@Param("id") Integer id);
}
